/* ==========================================================
   ENVÍO PILOTOS - MISMO ESTILO QUE "FRASES RÁPIDAS"
   - Ocupa casi todo el alto disponible
   - Scroll interno
   - No invade la tabla
   ========================================================== */

#ep2_wrap.ep2-wrap{
  width: 100%;
  background: #f5f7fb;
  border: 1px solid #d7dde5;
  border-radius: 4px;

  /* 👇 CLAVE: ocupa casi todo el espacio disponible */
  height: calc(100% - 5px);

  display: flex;
  flex-direction: column;

  overflow: hidden;
  position: relative;
  font-family: Arial, sans-serif;
}

/* Scroll interno que llega casi hasta la tabla */
#ep2_wrap .ep2-scroll{
  flex: 1;                 /* ocupa todo el alto disponible */
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
}

/* Cada bloque (igual que frases rápidas) */
#ep2_wrap .ep2-row{
  display: flex;
  align-items: flex-start;
  gap: 8px;

  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 4px;

  padding: 6px 8px;
  margin-bottom: 6px;
}

/* Botón copiar pequeño azul */
#ep2_wrap .ep2-btn{
  all: unset;

  width: 18px;
  height: 18px;
  min-width: 18px;

  border-radius: 3px;
  border: 1px solid #bcd0f3;
  background: #eaf2ff;
  color: #1e5bb8;

  cursor: pointer;
  display: grid;
  place-items: center;
}

#ep2_wrap .ep2-btn:hover{
  background: #dbe9ff;
}

/* Icono */
#ep2_wrap .ep2-ico{
  font-size: 11px;
  line-height: 1;
}

/* Texto compacto */
#ep2_wrap .ep2-text{
  font-size: 11px;
  line-height: 1.15rem;
  color: #111827;
  margin: 0;
  word-break: break-word;
  white-space: normal;
}

/* Toast */
#ep2_wrap .ep2-toast{
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

#ep2_wrap .ep2-toast.show{
  opacity: 1;
  transform: translateY(0);
}
